<?php

require_once 'PHPUnit/Extensions/SeleniumTestCase.php';

abstract class dgPHPUnitBaseSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase
{
    
  // set default host/port/etc
  public function __construct($name = null, array $data = array())
  {
  	parent::__construct(
  	  $name, $data
  	);
  	
$this->setBrowser(sfConfig::get('sf_selenium_rc_browser'));
$this->setHost(sfConfig::get('sf_selenium_rc_host'));
$this->setPort(sfConfig::get('sf_selenium_rc_port'));
$this->setTimeout(sfConfig::get('sf_selenium_rc_timeout'));  

  }
}